package com.day12.study.community_demo;

public class Customer implements Runnable {
    private ProductBase pb;

    public Customer(ProductBase pb) {
        super();
        this.pb = pb;
    }

    @Override
    public void run() {
        while (true) {
            pb.get();
        }
    }
}
